<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="/WEB-INF/jsp/menu.jsp"/>
<h2>부서 정보 수정</h2>
<form action="${initParam.root }/Controller" method="post">
<input type="hidden" name="command" value="mdc">
<input type="hidden" name="departmentNum" value="${requestScope.department.departmentNum}">
<table width="400">
	<tr>
		<td width="100">부서 ID</td>
		<td>${requestScope.department.departmentNum}</td>
	</tr>
	<tr>
		<td>부서명</td>
		<td><input type="text" name="departmentName" value="${requestScope.department.departmentName }"></td>
	</tr>
	<tr>
		<td>부서장</td>
		<td><input type="text" name="cheifName" value="${requestScope.department.cheifName }"></td>
	</tr>
	<tr>
		<td>부서인원</td>
		<td><input type="text" name="departmentNumOfPeople" value="${requestScope.department.departmentNumOfPeople }"></td>
	</tr>
	<tr>
		<td>지역</td>
		<td><input type="text" name="location" value="${requestScope.department.location}"></td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value="수정">
			<input type="reset" value="초기화">
		</td>
	</tr>	
</table>
</form>
</body>
</html>